package cn.smile.bean.form.core.role;

import cn.smile.bean.entity.core.RoleInfo;
import cn.smile.commons.domain.BaseQueryEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.util.List;

/**
 * @author smile-jt
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class RoleQueryForm extends BaseQueryEntity<RoleInfo> {
    @Serial
    private static final long serialVersionUID = 1372988801344970214L;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 角色ID集合
     */
    private List<String> ids;

    /**
     * 角色代码集合
     */
    private List<String> roleCodes;

    private String roleName;

    /**
     * 展示标记
     */
    private Boolean show = Boolean.TRUE;
}
